package com.jingyanzi.member.domain;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 客户DO对象 <b>Description:</b><br>
 * 
 * @author Reading.Reagan</a>
 * @version 1.0
 * @Note <b>ProjectName:</b> member-api <br>
 *       <b>PackageName:</b> com.jingyanzi.member.domain <br>
 *       <b>ClassName:</b> CustomerDO <br>
 *       <b>Date:</b> 2018年7月16日 下午12:17:43
 */
@ApiModel(value="CustomerDO",description="客户DO添加客户修改客户客户数据封装")
public class CustomerDO extends BaseDO {

	private static final long serialVersionUID = -6709378149458365913L;
	@ApiModelProperty(value="客户姓名",name="customerName", example="1")
	private String customerName;
	@ApiModelProperty(value="客户电话",name="mobile", example="1")
	private String mobile;
	
	@ApiModelProperty(value="女客户姓名",name="customerFemaleName", example="张三")
	private String customerFemaleName;
	@ApiModelProperty(value="女客户电话号码",name="mobileFemaleNumber", example="1398000000")
    private String mobileFemaleNumber;
	@ApiModelProperty(value="男客户姓名",name="customerMaleName", example="张三")
	private String customerMaleName;
	@ApiModelProperty(value="男客户电话号码",name="mobileMaleNumber", example="1398000000")
    private String mobileMaleNumber;
	
	@ApiModelProperty(value="联系人ID",name="customerFamilyId", example="1")
	private Integer customerFamilyId;
	@ApiModelProperty(value="性别",name="genderName", example="1")
	private String genderName;
	@ApiModelProperty(value="称呼",name="appellation", example="1")
	private Integer appellation;
	@ApiModelProperty(value="用户等级",name="level", example="31")
    private Integer level;
	@ApiModelProperty(value="用户等级字符串",name="levelName", example="A")
    private String levelName;
	@ApiModelProperty(value="省级编码",name="province", example="10002")
    private String province;
	@ApiModelProperty(value="城市编码",name="city", example="12001")
    private String city;
	@ApiModelProperty(value="区县编码",name="district", example="22001")
    private String district;
	@ApiModelProperty(value="详细地址",name="address", example=" 邹容路143号2栋")
    private String address;
	@ApiModelProperty(value="渠道类型",name="channelType", example="65")
    private Integer channelType;
	@ApiModelProperty(value="渠道类型字符串",name="channelTypeName", example="医院")
    private String channelTypeName;
	@ApiModelProperty(value="账户余额",name="accountBalance", example="3321.33")
    private BigDecimal accountBalance;
	@ApiModelProperty(value="备注",name="remark", example="aaaa")
    private String remark;
	@ApiModelProperty(value="是否是会员",name="isMember", example="1")
	private Integer isMember;
	@ApiModelProperty(value="是否合并",name="isMerge", example="1")
    private Integer isMerge;
    @ApiModelProperty(value="是否有效",name="isInvalid", example="1")
    private Integer isInvalid;
    
    @ApiModelProperty(value="客户首要联系人",name="firstFamilyDO", example="1")
    private CustomerFamilyDO firstFamilyDO;
    @ApiModelProperty(value="员工姓名",name="employeeName", example="有效")
	private String employeeName;
	@ApiModelProperty(value="手机号嘛",name="employeeMobile", example="有效")
	private String employeeMobile;

	public String getCustomerFemaleName() {
		return customerFemaleName;
	}

	public void setCustomerFemaleName(String customerFemaleName) {
		this.customerFemaleName = customerFemaleName;
	}

	public String getMobileFemaleNumber() {
		return mobileFemaleNumber;
	}

	public void setMobileFemaleNumber(String mobileFemaleNumber) {
		this.mobileFemaleNumber = mobileFemaleNumber;
	}

	public String getCustomerMaleName() {
		return customerMaleName;
	}

	public void setCustomerMaleName(String customerMaleName) {
		this.customerMaleName = customerMaleName;
	}

	public String getMobileMaleNumber() {
		return mobileMaleNumber;
	}

	public void setMobileMaleNumber(String mobileMaleNumber) {
		this.mobileMaleNumber = mobileMaleNumber;
	}

	public Integer getCustomerFamilyId() {
		return customerFamilyId;
	}

	public void setCustomerFamilyId(Integer customerFamilyId) {
		this.customerFamilyId = customerFamilyId;
	}

	public String getLevelName() {
		return levelName;
	}

	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}

	public String getChannelTypeName() {
		return channelTypeName;
	}

	public void setChannelTypeName(String channelTypeName) {
		this.channelTypeName = channelTypeName;
	}

	public Integer getAppellation() {
		return appellation;
	}

	public void setAppellation(Integer appellation) {
		this.appellation = appellation;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getChannelType() {
		return channelType;
	}

	public void setChannelType(Integer channelType) {
		this.channelType = channelType;
	}

	public BigDecimal getAccountBalance() {
		return accountBalance;
	}

	public void setAccountBalance(BigDecimal accountBalance) {
		if(accountBalance == null) accountBalance = new BigDecimal(0.0);
		this.accountBalance = accountBalance;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getIsMember() {
		return isMember;
	}

	public void setIsMember(Integer isMember) {
		if(isMember == null) isMember = 0;
		this.isMember = isMember;
	}

	public Integer getIsMerge() {
		return isMerge;
	}

	public void setIsMerge(Integer isMerge) {
		if(isMerge == null) isMerge = 0;
		this.isMerge = isMerge;
	}

	public Integer getIsInvalid() {
		return isInvalid;
	}

	public void setIsInvalid(Integer isInvalid) {
		if(isInvalid == null) isInvalid = 1;
		this.isInvalid = isInvalid;
	}

	public CustomerFamilyDO getFirstFamilyDO() {
		return firstFamilyDO;
	}

	public void setFirstFamilyDO(CustomerFamilyDO firstFamilyDO) {
		this.firstFamilyDO = firstFamilyDO;
	}

	public String getEmployeeName() {
		return employeeName;
	}

	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}

	public String getEmployeeMobile() {
		return employeeMobile;
	}

	public void setEmployeeMobile(String employeeMobile) {
		this.employeeMobile = employeeMobile;
	}

	public String getGenderName() {
		return genderName;
	}

	public void setGenderName(String genderName) {
		this.genderName = genderName;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@Override
	public String toString() {
		return "CustomerDO [customerFemaleName=" + customerFemaleName + ", mobileFemaleNumber=" + mobileFemaleNumber
				+ ", customerMaleName=" + customerMaleName + ", mobileMaleNumber=" + mobileMaleNumber + ", appellation="
				+ appellation + ", level=" + level + ", levelName=" + levelName + ", province=" + province + ", city="
				+ city + ", district=" + district + ", address=" + address + ", channelType=" + channelType
				+ ", channelTypeName=" + channelTypeName + ", accountBalance=" + accountBalance + ", remark=" + remark
				+ ", isMember=" + isMember + ", isMerge=" + isMerge + ", isInvalid=" + isInvalid + "]";
	}

	
}